package com.hytc.mymall.view;

import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.RadioButton;
import android.widget.RadioGroup;

import com.hytc.mymall.R;

import butterknife.BindView;

/**
 * Created by allkiss on 2016/12/9.
 */

public class MerchantHeaderView extends LinearLayout {
    Context context;
    View view;
    @BindView(R.id.vp_public_welfare_merchant_header)
    ViewPager vpPublicWelfareMerchantHeader;
    @BindView(R.id.rb_1)
    RadioButton rb1;
    @BindView(R.id.rb_2)
    RadioButton rb2;
    @BindView(R.id.rb_3)
    RadioButton rb3;
    @BindView(R.id.rg_bottom)
    RadioGroup rgBottom;

    public MerchantHeaderView(Context context) {
        super(context);
        this.context = context;
    }

    public MerchantHeaderView(Context context, AttributeSet attrs) {
        super(context, attrs);
        this.context = context;
    }

    public MerchantHeaderView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        this.context = context;
        initView(context);
    }

    private void initView(Context context) {
        view = LayoutInflater.from(context).inflate(R.layout.layout_public_welfare_merchant_header, this, true);
    }


    @Override
    protected void onLayout(boolean changed, int l, int t, int r, int b) {

    }
}
